package cn.exrick.xboot.modules.base.enums;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {

    PendingPayment("pendingPayment", "待支付"),
    Placed("placed", "已下单"),
    Accepted("accepted", "已接单"),
    InTransit("inTransit", "运输中"),
    Transferring("transferring", "转运中"),
    Arrived("arrived", "已到达"),
    Received("received", "已收货"),
    Completed("completed", "已完成"),
    Cancelled("cancelled", "已取消");

    private final String value;
    private final String description;

    OrderStatusEnum(String value, String description) {
        this.value = value;
        this.description = description;
    }
}
